package com.mlz.mlzmall.bean;

import java.util.List;

/**
 * Created by jason.zhou on 2016/1/13.
 */
public class GetMyPromotionResponse {
    public int status;
    public ErrorBean errors;
    public String msg;
    public PageableDto data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public ErrorBean getErrors() {
        return errors;
    }

    public void setErrors(ErrorBean errors) {
        this.errors = errors;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public PageableDto getData() {
        return data;
    }

    public void setData(PageableDto data) {
        this.data = data;
    }

    public static class PageableDto {
        public int total;
        public int pageNum;
        public int size;
        public int pages;
        public List<MyPromotionDto> list;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public List<MyPromotionDto> getList() {
            return list;
        }

        public void setList(List<MyPromotionDto> list) {
            this.list = list;
        }

        public static class MyPromotionDto {


            public int getState() {
                return state;
            }

            public void setState(int state) {
                this.state = state;
            }
            public int state;
            public int manufacturerId;
            public int promotionId;
            public int giftId;
            public String name;
            public String image;
            public String describe;
            public int status;
            public long dateStart;
            public long dateEnd;
            public long dateAdded;
            public long prizeDateEnd;
            public long prizeDateStart;
            public int type;

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getManufacturerId() {
                return manufacturerId;
            }

            public void setManufacturerId(int manufacturerId) {
                this.manufacturerId = manufacturerId;
            }

            public int getPromotionId() {
                return promotionId;
            }

            public void setPromotionId(int promotionId) {
                this.promotionId = promotionId;
            }

            public int getGiftId() {
                return giftId;
            }

            public void setGiftId(int giftId) {
                this.giftId = giftId;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getDescribe() {
                return describe;
            }

            public void setDescribe(String describe) {
                this.describe = describe;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public long getDateStart() {
                return dateStart;
            }

            public void setDateStart(long dateStart) {
                this.dateStart = dateStart;
            }

            public long getDateEnd() {
                return dateEnd;
            }

            public void setDateEnd(long dateEnd) {
                this.dateEnd = dateEnd;
            }

            public long getDateAdded() {
                return dateAdded;
            }

            public void setDateAdded(long dateAdded) {
                this.dateAdded = dateAdded;
            }

            public long getPrizeDateEnd() {
                return prizeDateEnd;
            }

            public void setPrizeDateEnd(long prizeDateEnd) {
                this.prizeDateEnd = prizeDateEnd;
            }

            public long getPrizeDateStart() {
                return prizeDateStart;
            }

            public void setPrizeDateStart(long prizeDateStart) {
                this.prizeDateStart = prizeDateStart;
            }
        }
    }
}
